﻿<%@ Page Title="Administrare" Language="C#" MasterPageFile="~/Site.master" AutoEventWireup="true" CodeFile="Default.aspx.cs" Inherits="Admin_Default" %>

<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" Runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" Runat="Server">
    <asp:Panel ID="pnlLastCalls" runat="server">

    <div id="navcontainer">
        <ul id="navlist">
        <li id="active"><a href="Default.aspx" id="current">Raport apeluri</a></li>
        <li><a href="RaportIncasari.aspx">Raport încasări</a></li>
        <li><a href="SetCosts.aspx">Setare costuri</a></li>
        </ul>
    </div>
   <br/>
        <h2>Raport apeluri efectuate</h2>
        <br />
        Data <asp:TextBox ID="TextBox1" runat="server" style="margin-left:10px; width:100px; padding-left:30px"></asp:TextBox> 
        <asp:Button ID="btn" runat="server" Text="Afişează" style="margin-left:15px;" 
            onclick="btn_Click" />
        <br />
        <br />
        <h3>Apeluri efectuate în data de
            <asp:Literal ID="litData" runat="server"></asp:Literal>
        </h3>
        <br />
        <asp:GridView ID="gvLastCalls" runat="server" CellPadding="4" 
            ForeColor="#333333" AutoGenerateColumns="false">
             <AlternatingRowStyle BackColor="White" />
            <EditRowStyle BackColor="#2461BF" />
            <FooterStyle BackColor="#507CD1" Font-Bold="True" ForeColor="White" />
            <HeaderStyle BackColor="#507CD1" Font-Bold="True" ForeColor="White" />
            <PagerStyle BackColor="#2461BF" ForeColor="White" HorizontalAlign="Center" />
            <RowStyle BackColor="#EFF3FB" />
            <SelectedRowStyle BackColor="#D1DDF1" Font-Bold="True" ForeColor="#333333" />
            <SortedAscendingCellStyle BackColor="#F5F7FB" />
            <SortedAscendingHeaderStyle BackColor="#6D95E1" />
            <SortedDescendingCellStyle BackColor="#E9EBEF" />
            <SortedDescendingHeaderStyle BackColor="#4870BE" />
            <Columns>
                <asp:BoundField  HeaderText="Ţara" DataField="PhoneCalled"/>
                <asp:BoundField  HeaderText="Cost" DataField="Cost"/>
                <asp:BoundField  HeaderText="Durata" DataField="Duration"/>
                <asp:BoundField  HeaderText="Ora" DataField="Timestamp"/>
            </Columns>
        </asp:GridView>
    </asp:Panel>

</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="OutOfForm" Runat="Server">
</asp:Content>

